<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CartPlace管理</title>
<%@include file="/WEB-INF/views/common/head.jsp"%>

<link rel="stylesheet" href="/assets/plugin/validator/css/bootstrapValidator.css" />
<script type="text/javascript" src="/assets/plugin/validator/js/bootstrapValidator.js"></script>
<script type="text/javascript" src="/assets/plugin/validator/js/language/zh_CN.js"></script>
<script src="/js/model/cartPlace.js"></script>
</head>
<body>
	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">
			<ul class="breadcrumb">
				<li><i class="icon-home home-icon"></i> <a href="/" target="_top">主页</a></li>
				<li><i class="icon-list"></i><a href="#">组织机构</a></li>
				<li class="active">CartPlace管理</li>
			</ul>
		</div>
		<div class="page-content">
			<div class="page-header">
				<h1>
					CartPlace管理 <small> <i class="icon-double-angle-right"></i> <s:if test="id==null">
添加CartPlace</s:if> <s:else>
编辑CartPlace</s:else>
					</small>
				</h1>
			</div>
			<!-- /.page-header -->
			<div class="row">
				<div class="col-xs-12">
					<s:form id="cartPlaceForm" action="cartPlace_save" cssClass="form-horizontal" role="form">
						<s:hidden name="id" />
						<s:hidden name="baseQuery.currentPage" />
						<s:hidden name="baseQuery.pageSize" />
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right" for="form-field-1">名称：</label>
							<div class="col-sm-9">
								<s:textfield name="sName" placeholder="地点名称" cssClass="col-xs-10 col-sm-5" />
							</div>
						</div>
					
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right" for="form-field-4">供应商：</label>
							<div class="col-sm-9">
								<s:select list="#supplierList" name="iSupplier" listKey="iSupplierId" 
								listValue="sName" headerKey="-1" headerValue="--请选择--" aria-controls="sample-table-2" />
							</div>
						</div> 
						
						<div class="form-group">
							<label class="col-sm-3 control-label no-padding-right" for="form-field-4">类型：</label>
							<div class="col-sm-9">
								<s:select list="#sysCodeList" name="iType" listKey="iId" 
								listValue="sName" headerKey="-1" headerValue="--请选择--" aria-controls="sample-table-2" />
							</div>
						</div> 
						
						<%@include file="/WEB-INF/views/common/button.jsp"%>
					</s:form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
